<template>
	<view>
		<van-button type="default">默认按钮</van-button>
		<van-button type="primary">主要按钮</van-button>
		<van-button type="info">信息按钮</van-button>
		<van-button type="warning" @click="mynotice()">警告按钮</van-button>
		<van-button type="danger" @click="mytoast()">危险按钮</van-button>
		<van-toast id="van-toast" />
		<van-notify id="van-notify" />

	</view>

</template>

<script>
	import Toast from '@/wxcomponents/vantweapp/toast/toast.js';
	import Notify from '@/wxcomponents/vantweapp/notify/notify.js';

	export default {
		data() {
			return {

			}
		},
		methods: {
			mytoast() {
				Toast('我是提示文案，建议不超过十五字~');
			},
			mynotice() {
				Notify('通知内容');
			}
		}
	}
</script>

<style>

</style>